<?php
namespace BP\Sys;

use BP\En\EntitiesMyPK;

class EnVerDtls extends EntitiesMyPK {
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public static function constructor__String ($enVerPK) // [String enVerPK]
	{
		$me = new self();
		$me->Retrieve(EnVerDtlAttr::$EnVerPK, $enVerPK);
		return $me;
	}
	public static function constructor__String_I ($enVerPK, $ver) // [String enVerPK, int ver]
	{
		$me = new self();
		$me->Retrieve(EnVerDtlAttr::$EnVerPK, $enVerPK, EnVerDtlAttr::$EnVer, $ver);
		return $me;
	}
	public function getNewEntity () 
	{
		return EnVerDtl::constructor__();
	}
	public function ToJavaList () 
	{
		return $this;
	}
	public function Tolist () 
	{
		$list = [];// 
		for ($i = 0; ($i < $this->size()); ++$i) 
		{
			$list->add($this->get($i));
		}
		return $list;
	}
}
?>
